//
//  Balance.h
//  Balance
//
//  Created by Calvin Kuo on 12-04-03.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Balance : NSObject

@property (nonatomic, copy) NSDate *balanceDate;
@property (nonatomic) NSTimeInterval timeIntervalSinceToday;
@property (nonatomic) NSTimeInterval timeIntervalSinceStart;
@property (nonatomic, copy) NSNumber *balanceAmount; //balance amount + past due amount
@property (nonatomic, copy) NSNumber *undueAmount; //amount not due
@property (nonatomic, copy) NSNumber *bucketOneAmount; //bucket #1: 1-30 days past due
@property (nonatomic, copy) NSNumber *bucketTwoAmount; //bucket #2: 30-60 days past due
@property (nonatomic, copy) NSNumber *bucketThreeAmount; //bucket #3: 60-90 days past due
@property (nonatomic, copy) NSNumber *bucketFourAmount; //bucket #3: 90-120 days past due
@property (nonatomic, copy) NSNumber *bucketFiveAmount; //bucket #3: 120-150 days past due
@property (nonatomic, copy) NSNumber *bucketSixAmount; //bucket #4: 150-180 days past due
@property (nonatomic, copy) NSNumber *belowNinetyDaysAmount; //1-90 days past due
@property (nonatomic, copy) NSNumber *aboveNinetyDaysAmount; //90+ days past dye
@property (nonatomic, copy) NSNumber *numberOfOpenInvoices;



@end
